<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    div{
      color: red;
    }
    p{
      /*提升当前样式的优先级为最高*/
      color:blue !important;
    }
    /*id选择器优先级最高*/
    #p1{
      color: green;
    }
    /*#p1{
      width: 611px;
      height: 376px;
      background-color: #e8e8e8;
      background-image: url("http://doc.vrd.net.cn/tstore_v1/images/itemCat/study_computer_img1.png");
      background-repeat: no-repeat;
      background-size: 318px 319px;
      background-position: 90% 80%;
      overflow: hidden;

    }
  #p1>div{
      width: 245px;
      height: 232px;
     padding: 68px 0 0 36px;

    }
    #p2{
      color: #333333;
      font-size: 32px;
      margin-bottom: 12px;
      font-weight: bold;
    }
    #p3{
      margin-bottom: 24px;
      font-size: 12px;
      font-weight: lighter;
      display: block;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0px;
      margin-inline-end: 0px;
    }*/
  </style>
</head>
<body>
<div>
<p id="p1">p1</p>
<span>span</span>
<a href="">超链接</a>
</div>
</body>
</html>